Return to doc.sitecore.com

  Web.config changes in Sitecore CMS 6.4.0 rev. 101012 compared to Sitecore CMS 6.3.0 rev. 100830

This update requires you to make changes to the following files:

The clean config files for Sitecore CMS 6.4.0 rev.101012 can be downloaded using the following links:

Below is the list of changes made to the Web.config file of Sitecore CMS 6.4.0 rev. 101012 as compared to the Web.config file of Sitecore CMS 6.3.0 rev. 100830:

  1. Removed the following handler from the <sectionGroup name="scripting" …> section:
    <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
  2. Removed from following 4 handlers from the <sectionGroup name="webServices" …> section:
    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral,PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
    <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
  3. The value of the DictionaryFolder appSetting has been changed to:
    <add key="DictionaryFolder" value="/sitecore/shell/controls/rich text editor/Dictionaries/" />
  4.  In the <preprocessRequest ...> pipeline, a new processor has been added to the top of the pipeline:section:
    <processor type="Sitecore.Pipelines.PreprocessRequest.SuppressFormValidation, Sitecore.Kernel" />
  5. In the <httpRequestEnd> pipeline, a ShowThresholdWarnings parameter has been added to StopMeasurements processor, so that the entire element now looks like this by default:
    <processor type="Sitecore.Pipelines.HttpRequest.StopMeasurements, Sitecore.Kernel">
      <ShowThresholdWarnings>false</ShowThresholdWarnings>
      <TimingThreshold desc="Milliseconds">1000</TimingThreshold>
      <ItemThreshold desc="Item count">1000</ItemThreshold>
      <MemoryThreshold desc="KB">10000</MemoryThreshold>
    </processor>
  6. In the <getRenderingPreview> pipeline, a new processor has been added between the GetXslRenderingPreview and the GetRenderingPreviewField processors:
    <processor type="Sitecore.Pipelines.GetRenderingPreview.TryRenderControl,Sitecore.Kernel" />
  7. In the <getContentEditorWarnings> pipeline, two new processors have been to the end of the pipeline:
    <processor type="Sitecore.Pipelines.GetContentEditorWarnings.RunRules, Sitecore.Kernel" />
    <processor type="Sitecore.Pipelines.GetContentEditorWarnings.Notifications, Sitecore.Kernel" />
  8. In the <getPlaceholderRenderings> pipeline, a new processor has been added between the GetAlowedRenderings and GetPlaceholderRenderingsDialogUrl processors:[Updated December 15, 2011]
    <processor type="Sitecore.Pipelines.GetPlaceholderRenderings.GetPredefinedRenderings, Sitecore.Kernel" />
  9. Five new pipelines have been added to the <pipelines> section:
    <insertRenderings>
      <processor type="Sitecore.Pipelines.InsertRenderings.Processors.GetItem, Sitecore.Kernel" />
      <processor type="Sitecore.Pipelines.InsertRenderings.Processors.AddPageDesignerRenderings, Sitecore.Kernel, Version=6, Culture=neutral" />
      <processor type="Sitecore.Pipelines.InsertRenderings.Processors.AddRenderings, Sitecore.Kernel" />
      <processor type="Sitecore.Pipelines.InsertRenderings.Processors.EvaluateConditions, Sitecore.Kernel" />
    </insertRenderings>

    <getChromeData>
      <processor type="Sitecore.Pipelines.GetChromeData.Setup, Sitecore.Kernel" />
      <processor type="Sitecore.Pipelines.GetChromeData.GetFieldChromeData, Sitecore.Kernel" />
      <processor type="Sitecore.Pipelines.GetChromeData.GetWordFieldChromeData, Sitecore.Kernel" />
      <processor type="Sitecore.Pipelines.GetChromeData.GetRenderingChromeData, Sitecore.Kernel" />
    <processor type="Sitecore.Pipelines.GetChromeData.GetEditFrameChromeData, Sitecore.Kernel" />
      <processor type="Sitecore.Pipelines.GetChromeData.GetPlaceholderChromeData, Sitecore.Kernel" />
    </getChromeData>

    <getRenderingDatasource>
      <processor type="Sitecore.Pipelines.GetRenderingDatasource.GetDatasourceLocation, Sitecore.Kernel" />
      <processor type="Sitecore.Pipelines.GetRenderingDatasource.GetDatasourceTemplate, Sitecore.Kernel" />
      <processor type="Sitecore.Pipelines.GetRenderingDatasource.CheckDialogState, Sitecore.Kernel" />
      <processor type="Sitecore.Pipelines.GetRenderingDatasource.GetDialogUrl, Sitecore.Kernel" />
    </getRenderingDatasource>

    <loadRichTextContent>
    </loadRichTextContent>

    <saveRichTextContent>
      <processor type="Sitecore.Shell.Controls.RichTextEditor.Pipelines.SaveRichTextContent.EmbedInParagraph, Sitecore.Client" />
    </saveRichTextContent>
  10. A NotificationProvider element has been added to each of the master, core and web database definition nodes (and should also be added for custom databases that should support Item Cloning).
    Changes for SQL Server Data Provider:
    <NotificationProvider type="Sitecore.Data.DataProviders.$(database).$(database)NotificationProvider, Sitecore.Kernel">
      <param connectionStringName="$(id)">
      </param>
      <param desc="databaseName">$(id)</param>
    </NotificationProvider>
    Changes for Oracle Data Provider:
    <NotificationProvider
    type="Sitecore.Data.$(database).$(database)NotificationProvider,
    Sitecore.Oracle">
      <param connectionStringName="$(id)">
      </param>
      <param desc="databaseName">$(id)</param>
    </NotificationProvider>
  11. A new agent has been added to the <scheduling> node:
    <agent type="Sitecore.Tasks.CloneNotificationsCleanupAgent" method="Run" interval="1.00:00:00">
      <LogActivity>true</LogActivity>
    </agent>
  12. In the <processors> section, the < uiArchiveItems> pipeline has been changed to look like this (two new processors related to Item Cloning have been added and the namespace of some of the existing processors have been changed from DeleteItems to ArchiveItems):
    <uiArchiveItems>
      <processor mode="on" type="Sitecore.Shell.Framework.Pipelines.ArchiveItems,Sitecore.Kernel" method="CheckPermissions" />
      <processor mode="on" type="Sitecore.Shell.Framework.Pipelines.ArchiveItems,Sitecore.Kernel" method="Confirm" />
      <processor mode="on" type="Sitecore.Shell.Framework.Pipelines.ArchiveItems,Sitecore.Kernel" method="CheckTemplateLinks" />
      <processor mode="on" type="Sitecore.Shell.Framework.Pipelines.ArchiveItems,Sitecore.Kernel" method="CheckCloneLinks" />
      <processor mode="on" type="Sitecore.Shell.Framework.Pipelines.ArchiveItems,Sitecore.Kernel" method="CheckLinks" />
      <processor mode="on" type="Sitecore.Shell.Framework.Pipelines.ArchiveItems,Sitecore.Kernel" method="CheckLanguage" />
      <processor mode="on" type="Sitecore.Shell.Framework.Pipelines.ArchiveItems,Sitecore.Kernel" method="UncloneItems" />
      <processor mode="on" type="Sitecore.Shell.Framework.Pipelines.ArchiveItems,Sitecore.Kernel" method="Execute" />
    </uiArchiveItems>
  13. In the <processors> section, a new <uiCloneItems> has been added between the uiCopyItems and uiDeleteFiles pipelines:
    <uiCloneItems>
      <processor mode="on" type="Sitecore.Shell.Framework.Pipelines.CloneItems,Sitecore.Kernel" method="GetDestination" />
      <processor mode="on" type="Sitecore.Shell.Framework.Pipelines.CloneItems,Sitecore.Kernel" method="CheckDestination" />
      <processor mode="on" type="Sitecore.Shell.Framework.Pipelines.CloneItems,Sitecore.Kernel" method="CheckLanguage" />
      <processor mode="on" type="Sitecore.Shell.Framework.Pipelines.CloneItems,Sitecore.Kernel" method="Execute" />
    </uiCloneItems>
  14. In the <uiDeleteItems> pipeline, a new processor has been added between the CheckTemplateLinks and CheckLinks processors:
    <processor mode="on" type="Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel" method="CheckCloneLinks" />
  15. In the <uiDeleteItems> pipeline, a new processor has been added between the CheckLanguage and Execute processors:
    <processor mode="on" type="Sitecore.Shell.Framework.Pipelines.DeleteItems,Sitecore.Kernel" method="UncloneItems" />
  16. In the <deleteVersionsUI> pipeline, a new processor has been added between the Confirmation and DeleteVersions processors:
    <processor mode="on" type="Sitecore.Shell.Framework.Commands.DeleteVersion,Sitecore.Kernel" method="CheckReferrers" />
  17. The <uiLoadHtml> pipeline has been deprecated. Use the new <loadRichTextContent> pipeline instead.
  18. The <uiSaveHtml> pipeline has been deprecated. Use the new <saveRichTextContent> pipeline instead.
  19. The default value of the Caching.DefaultFilteredItemsCacheSize setting has been changed to 2MB:
    <setting name="Caching.DefaultFilteredItemsCacheSize" value="2MB" />
  20. The default value of the IgnoreUrlPrefixes setting has been changed. Four URLs related to the Telerik Rich Text editor has been added, so that the default value now looks like this:
    <setting name="IgnoreUrlPrefixes" value="/sitecore/default.html|/trace.axd|/webresource.axd|/sitecore/shell/Controls/Rich Text Editor/Telerik.Web.UI.DialogHandler.html|/sitecore/shell/applications/content manager/telerik.web.ui.dialoghandler.html|/sitecore/shell/Controls/Rich Text Editor/Telerik.Web.UI.SpellCheckHandler.axd|/Telerik.Web.UI.WebResource.axd|/sitecore/admin/upgrade/|/layouts/testing" />
  21. Three settings have been added (it is suggested to add them in alphabetic order in relation to the existing settings, but they can be added at any place):
    <!--  HTML EDITOR DEFAULT CONFIGURATION TYPE
          Specifies the type responsible for setting up the rich text editor. Can be overriden at profile level. Must inherit from Sitecore.Shell.Controls.RichTextEditor.EditorConfiguration,Sitecore.Client.
          Default value: Sitecore.Shell.Controls.RichTextEditor.EditorConfiguration,Sitecore.Client
    -->
    <setting name="HtmlEditor.DefaultConfigurationType" value="Sitecore.Shell.Controls.RichTextEditor.EditorConfiguration,Sitecore.Client" />
    <!--  HTML EDITOR DEFAULT PROFILE
          Path to the default html editor profile.
          Default value: /sitecore/system/Settings/Html Editor Profiles/Rich Text Default
    -->
    <setting name="HtmlEditor.DefaultProfile" value="/sitecore/system/Settings/Html Editor Profiles/Rich Text Default" />

    <!--WORD FIELD INLINE EDITING PADDING
               Defines padding of a Word Field control that appears in the inline editing mode.
          -->
    <setting name="WordField.InlineEditing.Padding" value="10px" />
  22. Five settings have been removed (located in two different parts of the section):
    <!--  WEB EDIT CLASSIC
          Indicates if WebEdit runs in classic (dots) mode.
          Default value: false
    -->
    <setting name="WebEdit.Classic" value="false" />
    <!--  WEB EDIT CSS Class
          Default css class for enabled edit dots
          Default value: scWebEditDot
    -->
    <setting name="WebEdit.CssClass" value="scWebEditDot" />
    <!-- WebEdit.EnabledDot
          Specifies the image that indicates a dot in web edit. This can be a absolute path or
          a relative path to the current theme.
    -->
    <setting name="WebEdit.EnabledDot" value="Other/16x16/bullet_ball_glass_green.png" />
    <!--  WEB EDIT DISABLED CSS Class
          Default css class for disabled edit dots
          Default value: scWebEditDotDisabled
    -->
    <setting name="WebEdit.DisabledCssClass" value="scWebEditDotDisabled" />
    <!-- WebEdit.DisabledDot
          Specifies the image that indicates a dot in web edit. This can be a absolute path or
          a relative path to the current theme.
    -->
    <setting name="WebEdit.DisabledDot" value="Other/16x16/bullet_ball_glass_gray.png" />
  23. In the <system.webServer><handlers> section, three handlers have been at the end of the section:
    <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.html" type="Telerik.Web.UI.DialogHandler" />
    <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
    <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
  24. In the <system.web><httpHandlers> section, three handlers have been added at the end of the section:
    <add verb="*" path="Telerik.Web.UI.DialogHandler.html" type="Telerik.Web.UI.DialogHandler" />
    <add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
    <add verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
  25. The assembly binding section element has been changed (the appliesTo attribute has been added):
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v2.0.50727">

/App_Config/Commands.config

It is suggested to add the commands in alphabetical order and grouped by prefix in relation to the existing command definitions, but they can also be added as one block.

  1. The following commands have been added to the <configuration> section:
    <command name="contenteditor:setthumbnail" type="Sitecore.Shell.Framework.Commands.ContentEditor.SetThumbnail,Sitecore.Kernel"/> 
     
    <command name="item:clone" type="Sitecore.Shell.Framework.Commands.Clone,Sitecore.Kernel" />
    <command name="item:unclone" type="Sitecore.Shell.Framework.Commands.Unclone,Sitecore.Kernel" />
    <command name="item:uncloneitem" type="Sitecore.Shell.Framework.Commands.UncloneSingleItem,Sitecore.Kernel" />
    <command name="item:selectthumbnail" type="Sitecore.Shell.Framework.Commands.SelectThumbnail,Sitecore.Kernel" />
     
    <command name="webedit:editplaceholdersettings" type="Sitecore.Shell.Applications.WebEdit.Commands.EditPlaceholderSettings,Sitecore.Client"/>
    <command name="webedit:newrendering" type="Sitecore.Shell.Applications.WebEdit.Commands.NewRendering,Sitecore.Client"/>
    <command name="webedit:otherviews" type="Sitecore.Shell.Applications.WebEdit.Commands.OtherViews,Sitecore.Client"/>
    <command name="webedit:selectlayoutpreset" type="Sitecore.Shell.Applications.WebEdit.Commands.SelectLayoutPreset,Sitecore.Client"/>
    <command name="webedit:toggledots" type="Sitecore.Shell.Applications.WebEdit.Commands.ToggleDots,Sitecore.Client"/>
    <command name="webedit:toggledesigncapability" type="Sitecore.Shell.Applications.WebEdit.Commands.ToggleDesignCapability,Sitecore.Client"/>
    <command name="webedit:toggleeditcapability" type="Sitecore.Shell.Applications.WebEdit.Commands.ToggleEditCapability,Sitecore.Client"/>   
    <command name="webedit:toggletreecrumb" type="Sitecore.Shell.Applications.WebEdit.Commands.ToggleTreecrumb,Sitecore.Client"/>   
    <command name="webedit:toggleshowcontrols" type="Sitecore.Shell.Applications.WebEdit.Commands.ToggleShowControls,Sitecore.Client"/>

/App_Config/FieldTypes.config

It is suggested to add the field type definitions in alphabetical order in relation to the existing field type definitions, but they can also be added as one block.

  1. A resizable="true" attribute have been added to each of the existing field types:
    <!-- Simple Types -->
    <fieldType name="Rich Text" type="Sitecore.Data.Fields.HtmlField,Sitecore.Kernel" resizable="true" />
     
    <!-- List Types -->
    <fieldType name="Checklist" type="Sitecore.Data.Fields.MultilistField,Sitecore.Kernel" resizable="true" />
    <fieldType name="Multilist" type="Sitecore.Data.Fields.MultilistField,Sitecore.Kernel" resizable="true" />
     
    <!-- Deprecated Types -->
    <fieldType name="html" type="Sitecore.Data.Fields.HtmlField,Sitecore.Kernel" resizable="true" />
  2. The following field type definitions have been added:
    <!-- Simple Types -->
    <fieldType name="Multi-Line Text" type="Sitecore.Data.Fields.TextField,Sitecore.Kernel" resizable="true" />
     
    <!-- Link Types -->
    <fieldType name="Version Link" type="Sitecore.Data.Fields.VersionLinkField,Sitecore.Kernel" />
     
    <!-- Developer Types -->
    <fieldType name="Frame" type="Sitecore.Data.Fields.TextField,Sitecore.Kernel" resizable="true" />
    <fieldType name="Rules" type="Sitecore.Data.Fields.TextField,Sitecore.Kernel" resizable="true" />
    <fieldType name="Tracking" type="Sitecore.Data.Fields.TextField,Sitecore.Kernel" resizable="true" />
     
    <!-- System Types -->
    <fieldType name="Datasource" type="Sitecore.Data.Fields.DatasourceField,Sitecore.Kernel" />
    <fieldType name="Thumbnail" type="Sitecore.Data.Fields.ThumbnailField,Sitecore.Kernel" />
    <fieldType name="Security" type="Sitecore.Data.Fields.TextField,Sitecore.Kernel" resizable="true" />
     
    <!-- Deprecated Types -->
    <fieldType name="memo" type="Sitecore.Data.Fields.TextField,Sitecore.Kernel" resizable="true" />